Для синхронизации или передаче данных между разными вкладками можно использовать LocalStorage
Во Vue можно даже сделать реактивную обертку.
Но можно гораздо проще и эффективней - через Broadcast Channel API. C помощью него можно создавать канал, постить в него сообщения и слушать сообщения приходящие в этот канал.
// Создаем канал const bc = new BroadcastChannel("share_channel");
// Посылаем сообщение в канал bc.postMessage("Сообщение какое-то");
// Ловим событие в канале bc.onmessage = (event) => { console.log(event); };
Также postMessage можно использовать для связи открытых окон ( login ) с родительским окном - window.opener.postMessage()
Для синхронизации или передаче данных между разными вкладками можно использовать LocalStorage
Во Vue можно даже сделать реактивную обертку.
Но можно гораздо проще и эффективней - через Broadcast Channel API. C помощью него можно создавать канал, постить в него сообщения и слушать сообщения приходящие в этот канал.
// Создаем канал const bc = new BroadcastChannel("share_channel");
// Посылаем сообщение в канал bc.postMessage("Сообщение какое-то");
// Ловим событие в канале bc.onmessage = (event) => { console.log(event); };
Также postMessage можно использовать для связи открытых окон ( login ) с родительским окном - window.opener.postMessage()
There are multiple ways you can search for Telegram channels. One of the methods is really logical and you should all know it by now. We’re talking about using Telegram’s native search option. Make sure to download Telegram from the official website or update it to the latest version, using this link. Once you’ve installed Telegram, you can simply open the app and use the search bar. Tap on the magnifier icon and search for a channel that might interest you (e.g. Marvel comics). Even though this is the easiest method for searching Telegram channels, it isn’t the best one. This method is limited because it shows you only a couple of results per search.
Tata Power whose core business is to generate, transmit and distribute electricity has made no money to investors in the last one decade. That is a big blunder considering it is one of the largest power generation companies in the country. One of the reasons is the company's huge debt levels which stood at ₹43,559 crore at the end of March 2021 compared to the company’s market capitalisation of ₹44,447 crore.